package com.autumn.demo.entities.base;

/**
 * 具有顺序的抽象基本实体
 * 
 * @author 老码农
 *
 *         2017-10-31 14:54:01
 */
public abstract class AbstractBasicsSortEntity extends AbstractBasicsEntity  {
	/**
	 * 
	 */
	private static final long serialVersionUID = -1720068589621988161L;
	private Integer sortId;

	/**
	 * 获取顺序Id
	 * 
	 * @author 张 @date 2017/11/6 设置默认sortId,
	 * @return
	 */
	public Integer getSortId() {
		if (sortId == null) {
			sortId = 0;
		}
		return sortId;
	}

	/**
	 * 设置顺序Id
	 * 
	 * @param sortId
	 */	
	public void setSortId(Integer sortId) {
		this.sortId = sortId;
	}

}
